/* HeadCustoemr.c
 *	A Program to represent the Head Customer agent in our Movie
 *  Theater simulation.
 *	
 */

#include "syscall.h"

int TicketLineLock;
int TicketLineCustomerCondition;
int TicketClerkCustomerCondition;

void HeadCustomerThread() {
	Write("HeadCustomer is running.\n", 26, ConsoleOutput);
	Acquire(lock1);
	Wait(condition1, lock1);
	Wait(condition2, lock1);
	Release(lock1);
	Exit(0);
}

int
main()
{
	Fork(HeadCustomerThread);
	
	return 0;
}